package com.koo.modules.gy.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 总部药品资料药检单
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 16:15:52
 */
@Data
@ApiModel("总部药品资料药检单")
@TableName("gy_attach_file")
public class GyAttachFileEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private String fileId;

    @ColumnWidth(11)
    @ExcelProperty("产品ID")
    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ColumnWidth(11)
    @ExcelProperty("货号")
    @ApiModelProperty(value = "货号")
    private String productCode;

    @ColumnWidth(11)
    @ExcelProperty("批号")
    @ApiModelProperty(value = "批号")
    private String batchCode;

    @ColumnWidth(11)
    @ExcelProperty("类型:0药品资料(批号字段为空),1药检单")
    @ApiModelProperty(value = "类型:0药品资料(批号字段为空),1药检单")
    private Integer typeId;

    @ColumnWidth(11)
    @ExcelProperty("附件路径")
    @ApiModelProperty(value = "附件路径")
    private String filePath;


}
